﻿<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String serverPath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/";
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.6 -->
    <link rel="stylesheet" href="<%=basePath%>content/ui/global/bootstrap/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link href="<%=basePath%>content/ui/global/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <!-- Theme style -->
    <link rel="stylesheet" href="<%=basePath%>content/adminlte/dist/css/AdminLTE.css">
    <link rel="stylesheet" href="<%=basePath%>content/adminlte/dist/css/skins/_all-skins.min.css">
    <link href="<%=basePath%>content/min/css/supershopui.common.min.css" rel="stylesheet"/>

    <link rel="stylesheet" href="<%=basePath%>content/plugins/iCheck/flat/blue.css">
    <!-- Morris chart -->
    <link rel="stylesheet" href="<%=basePath%>content/plugins/morris/morris.css">
    <!-- jvectormap -->
    <link rel="stylesheet" href="<%=basePath%>content/plugins/jvectormap/jquery-jvectormap-1.2.2.css">
    <!-- Date Picker -->
    <link rel="stylesheet" href="<%=basePath%>content/plugins/datepicker/datepicker3.css">
    <!-- Daterange picker -->
    <link rel="stylesheet" href="<%=basePath%>content/plugins/daterangepicker/daterangepicker.css">
    <!-- bootstrap wysihtml5 - text editor -->
    <link rel="stylesheet" href="<%=basePath%>content/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

	<meta charset="utf-8" />
</head>
<body>
<section class="content-header">
    <h1>
      
        <small></small>
    </h1>
    <%--<ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
        <li class="active">控制台</li>
    </ol>--%>
</section>
<!-- Main content -->
<section class="content">
    <!-- Small boxes (Stat box) -->
    <div class="row">
        <div class="col-md-12">
            <!-- BEGIN SAMPLE TABLE PORTLET-->
            <div class="box-body" style="padding-bottom:0px;">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <%-- 加上action,不然回车会触发表单的提交事件，导致刷新页面，不知道怎么解决--%>
                        <form id="create" class="form" action="javascript:add()">
                            <div class="form-group" style="margin-top:15px">
                                <label class="control-label col-sm-1" for="title">Title</label>
                                <div class="col-sm-2">
                                    <input type="text" class="form-control" id="title">
                                </div>
                                <label class="control-label col-sm-1" for="url">Url</label>
                                <div class="col-sm-2">
                                    <input type="text" class="form-control" id="url">
                                </div>
                                <div class="col-sm-4" style="text-align:left;">
                                    <button type="button" style="margin-left:50px" id="btn_add" class="btn btn-primary">Add</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>

                <div id="toolbar" class="btn-group">
                    <button id="btn_edit" type="button" class="btn btn-default">
                        <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>Done
                    </button>
                    <button id="btn_delete" type="button" class="btn btn-default btn_delete">
                        <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>Remove
                    </button>
                </div>
                <div class="table-scrollable ">
                    <table class="table-striped table-hover" id="table" data-row-style="rowStyle"></table>
                </div>
            </div>
        </div>
    </div>
    
</section>
<!-- ./wrapper -->
<script src="<%=basePath%>content/ui/global/jQuery/jquery.min.js"></script>
<!-- Bootstrap 3.3.6 -->
<script src="<%=basePath%>content/ui/global/bootstrap/js/bootstrap.min.js"></script>
<script src="<%=basePath%>content/min/js/supershopui.common.js"></script>
<script src="<%=basePath%>content/supermgr/Base/js/common.js"></script>
<script src="<%=basePath%>content/plugins/bootstrap-table/bootstrap-table.js"></script>
<script src="<%=basePath%>content/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.js"></script>
<script src="<%=basePath%>content/supermgr/Module/SchedulerMgr/SchedulerMgr.js"></script>
<script src="<%=basePath%>static/js/main.js"></script>

</body>
</html>
